//
//  BaseMapViewController.h
//  leo
//
//  Created by 张旭 on 15/10/24.
//  Copyright © 2015年 mdx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MAMapKit/MAMapKit.h>
#import <AMapSearchKit/AMapSearchKit.h>
#import "Fence.h"
#import "AppDelegate.h"
#import "LeoMsg.h"
@interface BaseMapViewController : UIViewController<MAMapViewDelegate,AMapSearchDelegate>
@property (nonatomic, strong) MAMapView *mapView;
@property (nonatomic, strong) AMapSearchAPI *search;
@property (weak,nonatomic) UIViewController *motherTabViewController;

//For Safe Area
@property(nonatomic,retain) Fence *fence;
@property (nonatomic,strong) NSString *orignalLocation;

@end
